package org.sample.springbootcommandlinerunner.web.invocation;

import org.sample.springbootcommandlinerunner.web.model.ErrorResponse;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.experimental.Accessors;

@Accessors(fluent = true)
@Getter
@Setter
public class InvocationException extends Exception {

	@NonNull
	private int serialNumber;

	private ErrorResponse body;

	private Exception exception;

}
